package com.lx.tomcat.lifecycle;

public class LifecycleEvent {

    private Lifecycle lifecycle;
    private LifecycleState lifecycleState;
    private Object data;

    public LifecycleEvent(Lifecycle lifecycle, LifecycleState lifecycleState, Object data) {
        this.lifecycle = lifecycle;
        this.lifecycleState = lifecycleState;
        this.data = data;
    }

    public void lifecycleEvent(LifecycleEvent event) {
        System.out.println(event);
    }

}
